'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.index.index);

  // 首页swipper
  router.get('/home/indexswipper', controller.home.homeswipper.homeSwipper)
  // 首页 channel nav
  router.get('/home/indexchannelnav', controller.home.homechannelnav.channelNav)
  // 首页 choice
  router.get('/home/indexchoice', controller.home.homechoice.homeChoice)
};
